﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MPlusTree
{
    public abstract class MPKey
    {
        public abstract float Distance(MPKey k);
        public abstract byte[] ToBytes();
        public abstract void LoadFrom(byte[] b, int startIndex);
        public abstract void SetDNO(int d);
        public abstract float GetDimensionValue(int d);
        public abstract MPKey Clone();
        public abstract int Size();
        public abstract int GetDNO();
        public abstract int SetUpDNO(MPKey[] keys);
        public abstract int SetUpDNO(LinkedList<float[]> keys);
        public abstract int SetUpDNO(LinkedList<MPKey> keys);
    }
}
